Annotate the gsk_border_node_peek_widths() return value
authorEmmanuele Bassi <ebassi@gnome.org>
Tue, 17 Nov 2020 13:48:07 +0000 (13:48 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 17 Nov 2020 13:48:07 +0000 (13:48 +0000)
We return a fixed sized C array of floats.

gsk/gskrendernodeimpl.c

index d2b0543741208c118646f9bb6b67e375459871a8..b104372baf387b583622efb61851f13bfb3c4d98 100644 (file)
@@ -940,8 +940,9 @@ gsk_border_node_peek_outline (GskRenderNode *node)
  *
  * Retrieves the stroke widths of the border.
  *
- * Returns: (transfer none): an array of 4 floats for the top,
- *     right, bottom and left stroke width of the border
+ * Returns: (transfer none) (array fixed-size=4): an array of 4 floats
+ *   for the top, right, bottom and left stroke width of the border,
+ *   respectively
  */
 const float *
 gsk_border_node_peek_widths (GskRenderNode *node)